package com.chixing.day06;

/**
 * 信用账户
 */
public class CreditAcount {
    private float maxOverdraft;      // 最高透支额度
    private float alreadyOverdraft; // 已透支金额
    private int createScore ;     // 信用积分

    public float getMaxOverdraft() {
        return maxOverdraft;
    }

    public void setMaxOverdraft(float maxOverdraft) {
        this.maxOverdraft = maxOverdraft;
    }

    public float getAlreadyOverdraft() {
        return alreadyOverdraft;
    }

    public void setAlreadyOverdraft(float alreadyOverdraft) {
        this.alreadyOverdraft = alreadyOverdraft;
    }

    public int getCreateScore() {
        return createScore;
    }

    public void setCreateScore(int createScore) {
        this.createScore = createScore;
    }
    //    透支
    public float overdraft(float money){
        return 0;
    }
    //    还款
    public float repay(float money){
        return 0;
    }
}
